package com.barnaul.area.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.barnaul.area.dao.RegisterDAO;
import com.barnaul.area.domain.Register;

@Service
public class RegisterServiceImpl implements RegisterService {

	@Autowired
	private RegisterDAO registerDAO;
	
	@Transactional
	public void addRegister(Register register) {
		registerDAO.addRegister(register);
	}

}
